<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>第八章 BOM</h1>
<frameset rows="160,*">
    <frame src="frame.htm" name="topFrame">
    <frameset cols="50%,50%">
        <frame src="anotherframe.htm" name="leftFrame">
        <frame src="yetanotherframe.htm" name="rightFrame">
    </frameset>
</frameset>
<button onclick="showWidthAndHeight()">showWidthAndHeight</button>
<button onclick="openTest()">openTest</button>
<button onclick="openTest2()">openTest2</button>
<button onclick="setTimeoutTest()">延迟1秒</button>
<button onclick="clearTimeoutTest()">clearTimeoutTest</button>
<button onclick="setIntervalTest()">setIntervalTest</button>
<button onclick="clearIntervalTest()">clearIntervalTest</button>
<button onclick="clearIntervalTest2()">推荐方式clearIntervalTest</button>
<button onclick="confirmTest()">confirmTest</button>
<button onclick="promptTest()">promptTest</button>
<button onclick="printTest()">打印</button>
<button onclick="searchTest()">searchTest</button>
<button onclick="assignTest()">assignTest</button>
<button onclick="replaceTest()">replaceTest</button>
<button onclick="pluginsCheckTest()">pluginsCheckTest</button>
<script type="text/javascript" src="../js/ch08.js"></script>
</body>
</html>